package com.lovo.project.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 采购类
 */
@Data
@TableName("t_buy")
public class BuyBean {
    @TableId(value = "buy_id", type = IdType.AUTO)
    private Integer buyId;
    //    商品编号
    @TableField("buy_code")
    private String buyCode;
    //    商品名称
    @TableField("buy_goods_name")
    private String buyGoodsName;
    //    品牌
    @TableField("buy_brand")
    private String buyBrand;
    //    商品类型
    @TableField("buy_goods_type")
    private String buyGoodsType;
    //    采购数量
    @TableField("buy_number")
    private Integer buyNumber;
    //    采购单价
    @TableField("buy_price")
    private double buyPrice;
    @TableField("user_id")
    private Integer userId;
}
